{#if $invoices[id]?.status !== 'paid'}

Add a tip?

{tipAmountFormatted}{`(${tipAmountSats} SATS)`} {tipPercent}%
{ customTipAmount = ''; customInput.value = ''; tipPercent = e.target.value; }} />
{#each tipAmounts as amount} {/each}
$ handleCustomTipAmount(e)} class="bg-primary rounded-2xl py-3 px-10 font-semibold mt-2 mr-1 w-full md:w-auto" placeholder="Other" />
{:else}

Payment Successful!

{totalAmountFormatted} {$preferredCurrency}

({totalAmountSats} SATS)

{/if}